<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">THÊM CHI TIẾT NHẬP</p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">

<?php //var_dump($listncc)?>
<div align = "center">
	<form name = "frm_addkhachhang" method = "post" action = "">
	<table width = "580" cellpadding = "2" cellspacing = "2" border = "0" align = "center" bgcolor = "#D4D0C8">
	<tr>
		<td valign = "top" align = "center">Nhà cung cấp</td>
		<td valign = "top" align = "left"> 
			<select name = "cmb_ncc">
				<option value = "-1"> --Chọn nhà cung cấp--</option>
			<?php	
			if(is_array($listncc)){
				 foreach ($listncc['list'] as $key => $value){
					echo '<option value = "'.$value['MaNCC'].'">'.$value['TenNCC'].'</option>';
				 }
			}
				?>
			</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Mặt hàng </td>
		<td valign = "top" align = "left"> 
			<select name = "cmb_mathang">
				<option value = "-1"> --Chọn mặt hàng --</option>
				<?php
					if($listmathang){ 
						foreach ($listmathang['list'] as $key => $value){
							echo '<option value = "'.$value['MaMH'].'">'.$value['TenMH'].'</option>';
						}
					}
				?>
			</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Đơn giá </td>
		<td valign = "top" align = "left"> <input name = "dongia" type = "text" value = "" id="input"/> </td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Số lượng</td>
		<td valign = "top" align = "left"> <input name = "soluong" type = "text" value = "" id="input"/> </td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Ngày nhập </td>
		<td valign = "top" align = "left"> <input name = "ngaynhap" type = "text"  value = "" id="input"/> </td>
	</tr>
	<tr>
		<td align = "center"> <input name = "bt_ok" type = "submit" value = "Thêm"/>
		</td>
		<td align = "left" >
		   <input name = "bt_reset" type = "reset" value = "Nhập lại"/> </td>
	</tr>
	 </table>
</form>
</div>
</div>
</div>